package com.hui.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hui.entity.dao.ShopUser;
import com.hui.entity.dao.UserRecharge;

/**
 * 用户充值表(UserRecharge)表服务接口
 *
 * @author hui
 * @since 2022-08-03 17:24:37
 */
public interface UserRechargeService extends IService<UserRecharge> {
    /**
     * 根据充值方案，充值到账户
     *
     * @param user      用户信息
     * @param price     充值金额
     * @param paidPrice 赠送金额
     * @return
     */
    String addRecharge(ShopUser user, String price, String paidPrice);
}

